package com.bkgy.modular.gzTechnologyDetermine.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bkgy.modular.gzTechnologyDetermine.entity.GztechnologyDetermine;
import com.bkgy.modular.gzTechnologyDetermine.entity.GztechnologyDeterminepd;
import com.bkgy.modular.gzTechnologyDetermine.entity.PlanCheckPdi653;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GztechnologyDetermineMapper extends BaseMapper<GztechnologyDetermine> {
    List<GztechnologyDetermine> findByPageData(
            @Param("pageIndex") Integer pageIndex,
            @Param("pageSize") Integer pageSize,
            @Param("condition") JSONObject condition);

        List<GztechnologyDeterminepd> findByPageDatapd(
            @Param("condition") JSONObject condition);
    Integer findByPageDataCount(@Param("condition") JSONObject condition);

    List<PlanCheckPdi653> findDataByPage(
            @Param("condition") JSONObject condition);

    Integer findDataCount(
            @Param("condition") JSONObject condition);


    List<PlanCheckPdi653> findDataHisByPage(
            @Param("pageIndex") Integer pageIndex,
            @Param("pageSize") Integer pageSize,
            @Param("condition") Object condition);

    Integer findDataHisCount(
            @Param("condition") JSONObject condition);
}